﻿@model List<CMS.UI.Models.WebsiteMenuModel>
@{
    ViewBag.Title = "Sitemap";
    CMS.BL.Entity.tbl_Content SitemapPage = ViewBag.SitemapPage as CMS.BL.Entity.tbl_Content;
}
@section metatags {
    @if (SitemapPage != null) { Html.Partial("/Views/Partials/MetaTags.cshtml", SitemapPage); }
}

@section styles {
    @Html.Raw(SitemapPage != null ? SitemapPage.tbl_SiteMap.SM_CSS : String.Empty)
}
@section sidebar {
    @Html.Partial("../Partials/SearchPanel")
    @Html.Action("ContactUsPartial", "Website")
}
<div class="sitemap">
    <h1>@(SitemapPage != null ? SitemapPage.tbl_SiteMap.tbl_Domains.DO_CompanyName : String.Empty)
        Sitemap</h1>
    @CMSHelpers.WebsiteMenu(Model, Request.Url.AbsolutePath)
</div>
